package com.googlecode.framework.orm.ibatis;

import java.util.List;

import com.googlecode.framework.orm.OrmExecutor;
import com.googlecode.framework.pagination.OrderablePagination;

public interface IbatisOrmExecutor extends OrmExecutor {

    <E> E executeForObject(String sqlID, Object bindParams, Class<E> clazz);
    
    <E> List<E> executeForObjectList(String sqlID, Object bindParams);
    
    @Deprecated
    <E> List<E> executeForObjectList(String sqlID, Object bindParams, OrderablePagination op);
    
    int executeUpdate(String sqlID, Object bindParams);
    
    int executeBatch(final List<SQLHolder> sqlHolders);
    
    void executeProcedure(String sqlID, Object bindParams);
}
